<!DOCTYPE html>
<html>
<body>
    <script>
        alert({{ error_msg|tojson }});
        window.location.href = {{ redirect_url|tojson }};
    </script>
</body>
</html>